package com.aaa.stock.service;

import com.aaa.entity.StockMedicines;
import com.aaa.entity.StockProducer;
import com.aaa.stock.vo.MedicinesVo;
import com.aaa.stock.vo.MedicinesrVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface MedicinesService extends IService<StockMedicines> {

    //查询全部
public Result<List<StockProducer>> getAll();
    //分页查询
Result<IPage<StockMedicines>>getByPage(Integer currentPage, Integer pageSize, MedicinesrVo medicinesrVo);

    //对外提供接口
Result<IPage<StockMedicines>> findByConditio(Integer currentPage, Integer pageSize, MedicinesVo medicinesVo);
}
